package com.lzm.back.mapper;


import com.lzm.back.entity.Registration;
import com.lzm.back.entity.Status;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Lenovo
 * @description 针对表【registration(报名表)】的数据库操作Mapper
 * @createDate 2025-03-23 20:19:48
 * @Entity .domain.Registration
 */
public interface RegistrationMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Registration record);

    int insertSelective(Registration record);

    Registration selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Registration record);

    int updateByPrimaryKey(Registration record);

    List<Registration> selectByCondition(@Param("username") String username,
                                         @Param("name") String name, @Param("status") Status status, @Param("userId") Integer userId);
}
